﻿using System;
using System.Configuration;

namespace Fuse8.ContentManagementFramework.Web.Etc.PagePresent.Configuration
{
    public class CmsPagePresenterElement : ConfigurationElement
    {
        [ConfigurationProperty("publicPageId", IsRequired = true, IsKey = true)]
        public int PageId
        {
            get { return Convert.ToInt32(this["publicPageId"]); }
            set { this["publicPageId"] = value; }
        }

        [ConfigurationProperty("type", IsRequired = true)]
        public string Type
        {
            get { return this["type"].ToString(); }
            set { this["type"] = value; }
        }
    }
}